Request inspection rack middleware