->children() ->integerNode('max_host_connections') ->info('The maximum number of connections to a single host.') ->end() ->arrayNode('default_options') ->fixXmlConfig('header') ->children() ->arrayNode('headers') ->info('Associative array: header => value(s).') ->useAttributeAsKey('name') ->normalizeKeys(false) ->variablePrototype()->end() ->end() ->arrayNode('vars') ->info('Associative array: the default vars used to expand the templated URI.') ->normalizeKeys(false) ->variablePrototype()->end() ->end() ->integerNode('max_redirects') ->info('The maximum number of redirects to follow.') ->end() ->scalarNode('http_version') ->info('The default HTTP version, typically 1.1 or 2.0, leave to null for the best version.')