Switch to using the quasi-standard 'X_FOWRARDED_PROTO' header.