Socket now supports ipv4/ipv6