Parse packet magic
Actually parse magic