fn normalize_checked(raw: &str) -> Result<String>
Normalize a base URL and reject one that is empty after trimming.