Rate Limit Middleware

Would like to have an option to add a RateLimit middleware in the same fashion as CORS and JWT - right-click on the XDataServer object and add "Rate Limit" and then have some options. For example, x requests per y seconds. With different cumulative options. Like 5 requests per 15 seconds per IP address AND 1000 requests per 3600 seconds per IP address AND 30 requests per minute (any ip address). Or something like that. Maybe with the option to either delay the request or reject outright it for each set of options.