Changed Serial.println to MQTTS_DEBUG_PRINTLN
Added support for publishing