pub fn normalize_url(url_str: &str) -> Result<Url, String>
Parse and normalize URL (legacy function for backward compatibility)