reflection-tastic implementation of a connection manager for Apache HTTP client