use url-hexify-string instead of http-url-encode

It is always better to use built-ins rather than homegrown