networking: add autoconnect command