Corrected the MQTT variable header implementation.