support for stand-alone client mode.