p2p manager: add maxSwarmSize (close #53)