Added content type regex in header stripping