Add ability to create agent to ChannelClient code.
Merge remote-tracking branch 'origin/master'