Connect functionality for distributed environment in client