Update to use new mqttjs api