fix encoding for socket.io v1.1.x