I'm not sure whether this can be fixed in software.
The guy who wrote this Antipop created a workaround for a hardware problem.
For instance, the Air 1 doesn't pop with iOS 8. The audio amplifier chips in the Air 2 are different from the chips used in the Air 1. Other components like capacitors and resistors are part of the audio circuit as well. If all these components aren't tuned carefully, things like a pop noise can happen when an amplifier powers up. The internet is full of research information on that topic.
The audio circuit in the Air 2 could be prone for the frequent power on/off switches while the circuit in the Air 1 is not.
From a software perspective, it could help to increase the time before the amp is switched off but that's still a workaround. Only the Apple developers might know if the audio driver can be tweaked to eliminate the problem completely.