Cooperation Strategies for Agent-Based P2P Systems