Communicates with remote peer for append entries using json over http