collecting header line, removing on status (doesn't apply for requests)
parsing out header fields
logging header fields and removing some debug msgs