added functionality to log headers from request