<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def headers(self):
 """ Return only the headers as Python object """

        d = {}
        for k, v in self.message.items():
            d[k] = decode_header_part(v)
        return d