Moved setDefaultConnection to server

It complicated things on the client, setting a parametre at server
start should be ok.