WebSockets
A WS(ws, req) export in
route.ts is the server endpoint;
connectWS() (auto-reconnect, JSON
encode/decode, queued sends) is the client. This echoes each message back.
connecting (live echo needs JavaScript)