client-server connection establishment