/// Probe URL for the lightweight connectivity check. Firefox's captive-portal
/// detection endpoint: returns HTTP 200 with the literal body `success` on an
/// open network; a captive portal redirects or rewrites it.
pub const PORTAL_PROBE_URL: &str = "http://detectportal.firefox.com/success.txt";
/// Lightweight connectivity check via HTTP GET.
/// Returns true if we can reach the internet.
pub async