MqttMessageFactory constructor Null safety

MqttMessageFactory()