Added support for remaining packets, added proper PacketType sanity check

Signed-off-by: Irmo van den Berge <bergerkiller@gmail.com>