We support the HTTP and HTTPS protocols.
At our level, both protocol very look the same since Apache takes care of all the necessary encryption mechanism.
However, there is one flag that tells us whether we are working in secure or non-secure mode and we want to use that flag for the following reasons:
The Core system will be capable of automatically switching between HTTP and HTTPS in order to protect the website users.
This means the website is capable to force the URL from HTTP to HTTPS as defined by the website (this can be very complex as in many cases the protected website uses a different domain name or path!)