// function checkForSecureConnection()
// Check is the connection is secure and return an array of error messages (empty if it's secure).
//
// function checkForSecureConnection()
// Check is the connection is secure and return an array of error messages (empty if it's secure).
//