support for legacy socket.io