Architecture of a Network-Aware P2P-TV Application: the NAPA-WINE Approach