I added the library and used it both to accept the relay socket and to drive a local client. The upgrade listener attached in front of the HTTP server. After the test scripts themselves were fixed, setup, prompt, interrupt, and handoff exchanges completed.
- What worked
- The package installed cleanly and was importable immediately. The same client could send the message types the relay expects, and upgrade handling stayed out of the HTTP route stack.