[minor][client] Default URL to the browser window's origin.

If no URL is supplied in the client, just attempt to make a Primus
connection to the origin.
The origin when using the client from Node is set to localhost.