remove newlines from response headers before adding them to the
reponseHeader dict
more tweaks to responseheader handling