handle append entries message through POST endpoint
implement client for RequestVote
implement client for AppendEntries