Extract Hc4ProviderBase superclass from Hc4ProviderImpl

This makes possible to reuse the functionality without all the extra cruft

Needed by ssl plugin to retrieve certificates using all the proxy/auth/params from global/repository repository context

Signed-off-by: Alin Dreghiciu <adreghiciu@gmail.com>