Mostly complete first draft of raft_network.*; but some parts still missing, and no unit tests.