Move packet allocation into it's own function

Parent everything correctly (off of the packet) so we can just use talloc_free instead of rad_free