Add reconnectHandler.
Add TopicHandler type with QoS and ID.
Provide resubscribe function.