[sr-dev] git:master:24a3a172: core: do not use tcp id for lookup if not needed