Fixes #3548: Fixed the bug that X-Rate-Limit-Remaining header is always zero when using RateLimiter