If the configserver registers with securePortEnabled=true we should respect that in the discovery process. Fixes gh-450