Optimally DoS resistant P2P topologies for live multimedia streaming