getScheme now returns http if X-Real-Scheme isn't set