Protocol over websocket
Migrate to new protocol