HTTP_X_FORWARDED_PROTO is not always set
HTTP_X_FORWARDED_PROTO is not always set

We cannot assume HTTP_X_FORWARDED_PROTO is set by default. Also add an
isset check before using it.

Signed-off-by: BlackEagle <6c5c99a37e4dd8841971a4b7c7580d6fcba68554@gmail.com>

sasanrose/phpredmin,sasanrose/phpredmin,sasanrose/phpredmin