raft: add msgHeartbeat type

Fix #1745 

/cc @yichengq @bdarnell