[Reviewer: Mike] Sprout resilience

Mike, can you please review these changes for sto294. 
The changes are to: add a token bucket and latency calculator, reject incoming requests and close their connection when there are no available tokens, apply a penalty to the token rate when 503 responses are received from Homer/Homestead, and collect counts of the incoming requests.