add websocket command interface