Bug fix: Do POST after setting headers and include the Content-Length one (it is necessary)
Merge pull request #1 from sgmonda/master

Bug fix