Change GetResult field
Implement agent setting merging
Fix config merge routine
Add agent init test
Processing of connect packet is kind of ready.