pub fn local_api_base_url(api_host: &str, api_port: u16) -> String
Build the local API base URL from an explicit host and port.