Composite tuned pipe and header