Need to also check for X-Forwarded-Proto since that will actually be set for Amazon Web Services, for example.