BitTorrentSW: A sleep-and-wake approach to reduce energy consumption in bittorrent networks