Header mediator to process headers of the messages