main: fix proxy initialization and setupCluster

Fixes #1360 and a bug in NewClusterFromString.
I guess we could for now; need to figure out the discovery story at some point.