fixed response header logging for header names with special chars