allow { host, port } for createClient

Do the right thing (tm).

Cc @sh1mmer @dfellis