readFrom method
Reads a message from the supplied stream.
Implementation
@override
void readFrom(MqttByteBuffer messageStream) {
variableHeader = MqttConnectVariableHeader.fromByteBuffer(messageStream);
payload = MqttConnectPayload.fromByteBuffer(variableHeader, messageStream);
}