Extended websocket example