int? readSetonixProtocolVersion(Uri uri) => int.tryParse(uri.queryParameters[kSetonixProtocolQueryParameter] ?? '');