Fix HTTPS detection for Nginx / PHP-FPM

!isset($_SERVER['HTTPS']) now empty($_SERVER['HTTPS'])