Privacy and Cooperation in Peer-to-Peer Systems