Added headers and verifications of packets