When sending a large amount of data (for instance, with S3 and the moto library), the self._sent_data list gets very long, and all of the last entries are not header entries. This change keeps a separate list of data chunks that are valid headers to speed up the headers lookup.