Update core/lib/html.php

Added new function isSecure() for HTTPS request