Updated the headers to a CaseInsensitiveDict

Useful for plugins that want to modify it.