add websocket sample