Added the ability to specify -d on a per-agent basis, and also added the -n option to test connections that come and go.