Rate limiting middleware for Martini