Add basic connect

Fixes #5 
yikes - a `for` loop :running:

I suggest:

1. to map the hosts array with `formatHost`
1. to use `Array.prototype.join` to transform the array to a string with the `,` separator