backward-compatible support for socket.io v1.0.0