Rewrite of packet-handling

Updated the packet-handling to work with protocol-descriptions from
ArtClientLib.