Configures libp2p to use the given user agent.
Future<void> withUserAgent(String agent) async { userAgent = agent; }