C++ implementation of the Raft distributed consensus protocol