peer, swarm: add active parameter on each peer (refs #29)