add Content-Length header to the http headers, to try to solve 411 errors