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

Content-Length header is now sent when a request is relayed. (if content-length header is already present, it won't be overwritten). 
Content-Type header is now sent at httpcallback.
Tests has been modified too. 
@mrutid 
@XavierVal