[NXCM-5316] Fix DefaultRemoteProxySettings#getRemoteHttpProxySettingsFor and add UTs

Signed-off-by: Alin Dreghiciu <adreghiciu@gmail.com>