parse static method
Parses a wire / CLI name; a missing value is tcp and an unknown one
null, so a peer can tell "not asked" from "asked for something I don't
support".
Implementation
static TunnelProtocol? parse(String? value) => value == null
? tcp
: values.where((p) => p.wireName == value.toLowerCase()).firstOrNull;