Add support for IPv6 node and for Socks v5 proxy.