fix for #323

fix for #323. client no longer needs to query server to figure out where to connect to WS.