Global variable ProxyHeaderWhitelist refactored to local.
ProxyHeaderWhitelist
Closes: #2614 (closed)