Added a test for the type ID of a Connack packet
Added support for parsing and serialising of Register packets
Added support for parsing and serialising of Regack packets
Added support to Gateway for responding to Register requests