support socket.io v1