NEXUS-6182: Make client multi-thread capable

Most notably, the connMgr used by HC4 for Client.
Also, some minor cleanups.
Merge pull request #322 from sonatype/NEXUS-6182-mt-client

NEXUS-6182: Make client multi-thread capable
Merge remote-tracking branch 'origin/master' into upgrade-hc4