Fixes issue #27 : Infinite loop with MQTTProtocolCodec
Adding MQTT v3.1.1 Support