Support url support to node client

Support setting host, port, path, and protocol based on a url.

Closes #37