Do not crash in Preferences dialog if SSL is not available, fixes #376