Providing Quality of Service through Content Management inPeer-to-Peer Applications