public static void MapMqtt(this ConnectionsRouteBuilder connection, PathString path)
 {
     connection.MapConnectionHandler <MqttConnectionHandler>(path, options =>
     {
         options.WebSockets.SubProtocolSelector = MqttSubProtocolSelector.SelectSubProtocol;
     });
 }