HTTPCLIENT-1425: Fixed socket closed exception thrown by caching HttpClient when the origin server sends a long chunked response Contributed by James Leigh <james at 3roundstones dot com>