Move from Apache httpclient3.x to httpclient4.2.x