Use SSL if the config calls for it