simple websocket interface