Using Akka to implement Raft protocol