Ipv6 support

#66 IPv6 support. A bit simplified, will not try to connect to multiple A/AAAA entries, only the first one. 

Tested against a 30-node IPv6-only cluster. Seems to work.