Rate limiting
Merge pull request #163 from rcchan/ratelimit

Rate limiting