Bugfix: Was checking for tcp_socket instead tcp6_socket