Added HTTPS checking for web controllers in addition to API controllers