Debugger: fixed HTTPS detection on nginx

The very same fix as for `Http\RequestFactory `– https://github.com/nette/nette/commit/0180d959508766416e25454d3cf4a2968c24afa0