MIRTH-3264, MIRTH-3265: Switched from HttpClient to HttpComponents in client-lib, cli-lib, and manager-lib.
MIRTH-2943: Fixed bug where the cleanup method was being called before logout(). This is required now that we've switched to HttpComponents, because we're now closing the client object in shutdown().