Quote special URL characters

Create a minimal_url_quote function to hex-encode just the minimal set of
special URL characters.