Paho MQTTv3 library works with Azure Iot Hut therefore I have added Paho MQTTv3 library into the application and toggle between 3 and 5 as needed.