pub fn pct_encode(input: &str) -> String
Percent-encodes everything except RFC 3986 unreserved characters.