Organization provides http proxy and https proxy.
If not within enterprise network successfully establishing a secure connection (ssl://brokerhost:brokerport)
1.Passing relevant keystore and truststore
2.Setting default instance of SSLSocketFactory in MqttConnectOptions.