[connectionagent] Fix case where enabling autoconnect would not connect immediately.
Merge pull request #39 from amccarthy/master

[connectionagent] Fix case where enabling autoconnect would not connect ...