Adaptive Streaming in P2P Live Video Systems: a Distributed Rate Control Approach