Add rate limiting middleware