[WFCORE-80]:Upgrade httpclient to 4.3.2 and remove deprecated apis