Fixes #68.
Merge pull request #70 from abmargb/master

Fixes posting when running the API over Tigase