raft: add Configure

Configuration change
we could do that.
i leave it here to be consistent with messageType. The possible benefit is that we could write `String` function for them, and the disadvantages are that it may slow encoding/decoding just a little.