Altered socket.io a bit