Fix for the experimental SSL support

Using `cond` instead of `case` since `case` uses `eql` for comparing the values.