AP mode no longer periodically terminates WebSocket when hasInternet and
hasWiredInternetProbe both fail; avoids false positives with hotspot + wired
uplink. Reconnect and offline detection rely on Pong, peer close, and TCP.
_connect() still defers new WS when AP and no uplink; close handler UI unchanged.
Made-with: Cursor