network_talking_to(): fix detection whether we are already talking to a remote site.