Integrating Peer-to-Peer and Multi-Agent Technologies for the Realization of Content Sharing Applications