headers: refresh config once per connection

declare config.main.reject as boolean
added from_matches results