Construct headers in string form, and return a list containing each
        line of header strings.

def write_headers(self):
        """Construct headers in string form, and return a list containing each
        line of header strings.
        """
        hlist = []
        for h in self.headers:
            hlist.append("{}: {}".format(h.key, h.value))
        return hlist