Better Secure Connection detection

In PHP-FPM + nginx there is no such env $_SERVER['HTTPS'] and ```php Yii::$app->request->isSecureConnection``` is always false.
So checking server port (what is not perfect) seems as ultimate way.