Use \Request instead of $_SERVER. Working on #2334
Yoda bad statement is.
Merge branch 'master' into refactor/protocol-detection
Prevent " Can't use method return value in write context"
Temporarily disable this test. Need to fix properly
Tweaking protocol detection for HTTPS.
Merge pull request #2338 from bobdenotter/refactor/protocol-detection

Refactor/protocol detection