LUNES: Agent-based Simulation of P2P Systems