Implements new GetPeers search logic for jbitor/jbitor#3.