Wai middleware for request throttling