added check for magic Packet