add packet version handling for DS packets
rename PACKET_HEADER to PACKET_TYPE, fix DS packet versioning