Implemented rate limiter.

Fixes #12.
Released 1.12.6.