Fixed connecting to IPv6 addresses