Adds a new subscription to the collection of subscriptions.
void addSubscription(String topic, MqttQos qos) { subscriptions[topic] = qos; }