Fix Content-type value on POST (and other methods != GET)

Fixes sending the wrong Content-Type header by removing the
application/json value it was wrongly setting by default. Only
application/x-www-form-urlencoded is now sent, so the server can
interpret the HTTP body accordingly.
Merge pull request #31 from ericcastro/master

Fix Content-type value on POST (and other methods != GET)