Using contracts to induce cooperation in large scale P2P communication networks: algorithms, stability and applications. (1st January 2012)