First steps in implementing our protocol. Requires quite a little
bit of refactoring in order to distinguish properly between a
slave and a leader.

I'm putting a lot of logic of deciding which node to connect to
and which port to listen to in Network/Quorum.hs