Added sleep support, request counters, and throttling

new -z flag to avoid waking a sleeping car
added request per minute counters and throttling for both REST API and
Streaming URL