adding cmdBuffer for buffering Paxos commands, eliminating duplicates, and sending them on in sequential order