socket.io patch