Be smarter about sniffing the scheme, using the settings based approach Django itself uses to know which headers to trust