pub fn canonicalize_domain(domain: &str) -> String
Canonicalizes a domain string by stripping all whitespace characters.