The RemoteProxySettings.getClass().getName() is just used as a key to find the settings in RemoteStorageContext. So, I did the same for RemoteHttpsProxySettings.
I could have changed both and use different keys but that could brake existing code that looks up the RemoteProxySettings from RemoteStorageContext