HTTP agent implementation based on httpcomponents HttpCore