Add client_connect() method