Improve support of log request headers 
Improve tests