Bugfix: called connect-to-first-available with wrong order of
params. Put settings at end, which may play a little better with ->>
form. Added a missing test to.
Nicer test name.
Merge pull request #15 from tjg/first-available-address-bugfix

Bugfix: connect-to-first-available parameter order