curl wrapper for Apache HttpComponents Client