FIX: Make sure perf header is written out for better request redirects