Transform ajax to websocket.