Update system/core/Common.php

Updated is_https() to avoid "NULL" or "0" values to set HTTPS.