Update the Client tests to use :hosts and not :host
Connect to localhost when the given list of hosts is empty

This fixes #94