I agree with Kevin that it is likely ignition related. One of my other cars (not Porsche) was firing off rifle shots (mostly on hot restarts, sounded like a 30-06) and eventually traced it back to bad spark plugs. Sounds like your ignition is breaking down under load, loading up the exhaust with raw fuel, then when the ignition kicks back in it fires off with a very loud report...