Urlencode parameter names.

Parameter names need to be urlencoded as well or else they could make
things fail.
Merge pull request #31 from nubs/urlencode-parameters

Urlencode parameter names.