Support connecting to IPv6 addresses