HTTPCLIENT-1100: Missing Content-Length header makes cached entry invalid. Applying patch provided by Bart Robeyns <bart dot robeyns at gmail dot com>