A middleware for Grape to add endpoint-specific throttling