Fix HTTP_X_FORWARDED_HOST notice
Merge pull request #4406 from maxrice/master

Fix HTTP_X_FORWARDED_HOST notice