fix(peer_server): recover from outage with discovery

This patch also contains the refactor of find cluster process.
It is changed based on @xiangli-cmu 's commits in 627 issue.