Urlencode parameter names.

Parameter names need to be urlencoded as well or else they could make
things fail.