Working with socket.io modifications