Fix problem with decoding of HTTP responses with no Content Length