Trying to fix the header issue
Borrowed from https://github.com/sinm/rack-reverse-proxy/commit/10fe5feaa32848f7ed0b105f231c8a658b87444b