Configures libp2p to enable/disable the Ping service.
Future<void> withPing(bool enabled) async { enablePing = enabled; }