pub fn percent_encode(input: &str) -> String
Percent-encode a string (useful for building URL path/query components).