Made the cert and key optional for mqtt.createSecureClient