Support rate limiting

Re: API-67
Mostly I was thinking about readability over performance, since I don't think there's enough of a performance difference there that we'd care about it in an HTTP client