downgrade api usage to httpclient 4.2.1 to do not clash with EAP versions provided

(cherry picked from commit 2ed481b181e97738de8179b665655386c73863a2)