Implement a SwitchToHttp and SwitchToHttps attribute, because the RequireHttps attribute as inconsistent in its switching.