convert setup_socket t work with uv sockets