CORE-3924: migrated to Apache HTTP Client version 4.2.2