Using a fake netio-device api to control rcswitch command line remotely