pub fn percent_encode(input: &str) -> String
Percent-encode a string per RFC 3986 section 2.3 (unreserved characters only).