Make "autoconnect" parameter optional on "connect" command (fixes #675)