replace socket.io by websocket.io