Gossip-based aggregation in large dynamic networks