Fixing typo in Packet.Type enum
Added getShort for handling unsigned short numbers