fixed useSSL undefined check error in paho