Rack middleware used to mock ip address in dev env