Added support for setting up charset headers