[engine] [unix] Add established channels to the global map; fix remnant shared_ptr in Node; add a bit of locking.