a bit more verbosity in test
http_headers: hide implementation, misc improvements