Fix for the experimental SSL support

Using `cond` instead of `case` because `case` uses `eql` for comparison.