pub async fn try_upgrade_to_https( http_uri: &str, probe_timeout_ms: u64, ) -> Result<String, UpgradeError>
Probe HTTPS availability before upgrade Returns the HTTPS URI if successful, otherwise an error