Execute commands over a websocket