IPv6 socket support

error.connect argument for IPv6 is 4-tuple https://docs.python.org/2/library/socket.html#socket.getaddrinfo