forward a server-side async-style api to a remote socket.io client