Unify some or all of Tor's various message/event/work queues.

We have several of these, many of which could sensibly be unified or refactored.