Initial implementation for deskshell client api and automatic connection.