Fix #224. Content-Length header is now sent. Content-Type header is now sent at httpcallback
Merge pull request #226 from telefonicaid/contentLengthHeader

Fix #224: Send content-length and content-type headers when needed.