For POST of type application/x-www-form-urlencoded, we encodeURI().
Merge pull request #4 from noblesamurai/uri_encode_correctly

For POST of type application/x-www-form-urlencoded, we encodeURI().