Update system/core/Common.php

Updated is_https() to avoid "NULL" or "0" values to set HTTPS.
Update system/core/Common.php
Update system/core/Common.php
Merge pull request #2245 from maltzurra/patch-1

Fixed is_https() to avoid incorrect detection.