ExperimentalExperimentalClose every client connection accepted from the websocket server, telling each why. Clients served through IRpcLocalClientAcceptor.acceptLocalClient are left open: whoever handed their sockets over owns closing them.
WebSocket close code to send to each client
Human-readable reason to send to each client
An RPC handler that can close the connections of the clients its websocket server accepted. Only the process that owns the server (main) implements this.