add an option to connect to server from the commandline