Reduce arguments to connectAgent.
Work on 0.2.21pre.