Detect when there is a change bewwen a https connection to a non-secure one and generated a new erro code.