+ ->arrayNode('context')
+ ->addDefaultsIfNotSet()
+ ->children()
+ ->arrayNode('http')
+ ->addDefaultsIfNotSet()
+ ->children()
+ ->scalarNode('max_redirects')->defaultValue($defaults['context']['http']['max_redirects'])->end()
+ ->scalarNode('timeout')->defaultValue($defaults['context']['http']['timeout'])->end()
+ ->scalarNode('user_agent')->cannotBeEmpty()->defaultValue($defaults['context']['http']['user_agent'])->end()
+ ->end()
+ ->end()
+ ->end()
+ ->end()