A Study of Traffic Locality and Reliability in Peer-to-Peer Video Streaming Applications