Added IPV6 support to sockets