add logging of header http request