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 branch 'corrected-ssl-recognition' into SRSoftware-Mix