class Net::SSH::Packet

def initialize(payload)

using the methods provided in the Net::SSH::Buffer superclass.
Packet.register; otherwise, the packet will need to be manually parsed
parse the packet if it is one that has been previously registered with
Create a new packet from the given payload. This will automatically
def initialize(payload)
  @named_elements = {}
  super
  @type = read_byte
  instantiate!
end