merge headers into connection_options