Consolidated PeerManager logic into TorrentClient