detect 301 redirects and http to https changes