modified server/client to launch a server node if needed