rebasing socket.io work