basic websocket demo