Implement GET application/rate_limit_status, fix some bugs