adding a function : to_header_string -> filter to execute at the beginning