Added logger, fixed X-header parameters.