Handle getInfo and getPeers requests