provide middleware to carry the proper request id from the routing layer