support ipv6 for outgoing NTCP connections