Per-node on-the-fly connections

Full details in the associated issue #111 and code comments.