Add x-use-https header on http to https redirect

Version 1.45.1

Feature
Finished

If you connect to http when DA is using https, DA will redirect you to https automatically. This change simply adds an extra header, so scripts/APIs can check to see if this header is set: x-use-https: yes and if it does, then they'll know that DA is using https, and they can notify the Admin to change the API settings accordingly.

Try DirectAdmin with a 30-day money back guarantee!