Fix server interface

Related raft change: https://github.com/goraft/raft/pull/122