Conditional SSL support