converting header names to str instead of bytes.