Implementing client side rate limiting in Go