changed type of client-factory to MqttPahoClientFactory