Implements mock rate_limit API