Newscast code needed by the aggregation and load-balancing examples described in Peersim tutorial 1.