adding connack decoding
[WIP] working on connect packet encoding
[WIP] working on connect packet encoding
adding options to get tests working
adding disconnect packet encoding
adding pingreq
adding pingresp decoding
adding suback decoding
fixing defaults for suback
adding subscibe packet encoding
adding unsubscribe packets
adding unsuback
adding validation on message-id for subscribe messages
Merge branch 'packets'. Finishes parsing and encoding of all packets.

  Resolves #1