I would like to add a function to the on_connect parameter of input.harbor. The function gets the headers as a list of strings. Now, I want to iterate over the
on_connect