replaces httpclient3.1 with httpclient 4.3