Properly quote paths within HTTP URLs.

The change makes it so that parameters that are of type "path" get
quoted so that the HTTP server can properly parse it. The big
difference I found is that strings like:

foo/bar/baz

get changed to:

foo%2Fbar%2Fbaz

and improved behavior for me.
Merge pull request #7 from putnopvut/url_encode

Properly quote paths within HTTP URLs.