Scala implementation of the Raft distributed consensus protocol.