Connection now iterates through the message handlers