websocket client prototyping