Adjusted socket.io source