switch to newer Apache httpclient, update to latest released versions of other libs

Switch from Apache commons httpclient (which is end of life) to Apache httpcomponents.

I did not review any API usage of httpclient, rather just switched to use the newer library without any source code changes.