Currenlty only outgoing connections are possible via connector.
Why not implement a custom "handler", like .createServer(), that accept any WebSonnection on the interface, and passes/uses the WebSocket connaction stream for data forwarding?
E.g, Serial connections.
A custom wrapper could establish a bridging between the Serial interface and the backend ws interface endpoint.
A Plugin could then impelemnt that iface.connections() for data forwarding.