added possibility to filter incoming messages for the MQTT subscriber