rplit the netloc to better handle ipv6 addresses
Add IPv6 support for UDP transports (IPv4 is preferred)