Dave and Maciej asked me to do this.
Created attachment 6426 [details] patch to implement the timers using a single system timer and a priority queue
Created attachment 6435 [details] new patch with a few changes after last night's discussion on IRC
Comment on attachment 6435 [details] new patch with a few changes after last night's discussion on IRC looks great! r=me