Extract RateLimit() in HttpStorage.