C implementation of the Raft consensus algorithm