upgrade to httpclient 4