chose to just use 1 byte as type identifier. who needs 2^16 types of
packets anyway?