Encoding the remaining length
Encoding the remaining length and throwing an exception when the maximum message length is exceeded
Decoding a message remaining length
decoding remaining length throws an error when the remaining length is too long
moving to a more functional style
returning an error from decode instead of throwing
tidying formatting
Refactoring the test names and also using the variables to describe the byte limit values
Bug in the encoding I was using 0xFF instead of 128
added more functions
organising methods for the remaining length
Created a function for reading the remaining bytes from a stream
Back grunting now and also back to the drawing board.
Changed the message tests to go over TCP to enable interop
removing version 0.8 of node from the travis requirements
CONNECT packet parsing: return malformedRemainingLength code when the remaining length is 5 or more bytes
MQTT UTF-8 strings encoding and decoding
CONNECT packet parsing: parsing the variable header, parses the protocol name
CONNECT packet parsing: parsing the variable header, parses the protocol version.  Also ensured that grunting passes
CONNECT packet parsing: parsing the connect flags.  Parses the CONNECT flags