As Wi‑Fi tunnelling and mobdev2 discovery are added, we need a way to create a local TCP proxy to a device port regardless of whether the underlying transport is usbmux or TCP (Wi‑Fi). The relay service should be extended or generalized so that it can also wrap a TCP socket to a Wi‑Fi‑connected device, not just a usbmux socket, while keeping the public API stable where possible.
As Wi‑Fi tunnelling and mobdev2 discovery are added, we need a way to create a local TCP proxy to a device port regardless of whether the underlying transport is usbmux or TCP (Wi‑Fi). The relay service should be extended or generalized so that it can also wrap a TCP socket to a Wi‑Fi‑connected device, not just a usbmux socket, while keeping the public API stable where possible.