Currently sockets are supported only through ipv4. Need to pass in `inet6` as an option to `:gen_tcp.connect` to enable ipv6 support.