Fix sockets connect host