Reconstruct the record of peers.

Add an dynamic array to record the available peers. Add a zhash_t field to record all information of peers.