raft: move protobufs into raftpb