Fix remote_services for ipv6/ipv4 '::' IPs