pub fn encode(input: &str) -> String
Percent-encode per RFC 3986 unreserved set. Unreserved: A-Z a-z 0-9 - _ . ~