open fun rxConnect(port: Int, host: String): Single<MqttConnAckMessage>
Connects to an MQTT server calling connectHandler after connection
port - port of the MQTT server
host - hostname/ip address of the MQTT server
Return
open fun rxConnect(port: Int, host: String, serverName: String): Single<MqttConnAckMessage>
Connects to an MQTT server calling connectHandler after connection
port - port of the MQTT server
host - hostname/ip address of the MQTT server
serverName - the SNI server name
Return