A rack middleware for throttling and filtering requests