Implemented socket.io for requests/responses