THRIFT-970. java: Under heavy load, THttpClient may fail with 'too many open files' This patch updates our THttpClient to have two different modes of operation: its current functionality and a new mode that uses Apache's HttpClient library to provide higher throughput and better pooling functionality. Patch: Mathias Herberts