Initial header/packet checks