update of code before rework of version4
Merge branch 'v3' of https://github.com/MangoRaft/Raft into v3