PR #274: Moved proxy header code into a new middleware comp