added testing of server variable "HTTPS" to sslCheck, to improve ssl recognition capabilities (was broken before).

By the way: there is no guarantee, that your using ssl, when the port is set to 443. It is POSSIBLE (but unusual), that you use plain http with port 443.
Merge pull request #42 from StephanRichter/corrected-ssl-recognition

Hallo Phillip,