set IPV6_V6ONLY (see http://funcptr.net/2012/08/07/ipv6----getaddrinfo%28%29-and-bind%28%29-ordering-with-v6only/)