Getting closer to the end.... not working yet although parsing and
detecting well the headers.