Make tokenlimiter capable of getting rates from a request header

Make bucket rate and capacity adjustable