Update LightMQTT.swift
Update LightMQTT.swift

Pretty up the MQTT publish code a bit :)

The variable length encoding utility function is nice. I think it does not need to be used with connects, subscribes and unsubscribes as their length should always fit in one byte.
PasiSalenius/LightMQTT