Added conditional SSL support for all application environments.