Handle inline modifiers of type `Func<T1, T2>` in `Packet.Replace`. \ This will remove the need for a separate `Modify<T>(Func<T, T> modifier)` method.