Make all SSL checks against boolean values
Merge branch 'fix-ssl-booleans'