Use !== rather than > in condition

This is more aligned to the actual logic we're implementing
although there is no difference in flow.
Add pathIsSSL predicate
Use pathIsSSL for protocalCheck conditions