Change API to NSURLSession
Functionality added to MQTTService