SLACER: Randomness to Cooperation in Peer-to-Peer Networks