ns = ssl_NewSocket();
ns = ssl_NewSocket((PRBool)(!ssl_defaults.noLocks));
SSL_ImportFD(PRFileDesc *model, PRFileDesc *fd){    sslSocket * ns = NULL;    PRStatus    rv;    PRNetAddr   addr;    if (model == NULL) {	/* Just create a default socket if we're given NULL for the model */	ns = ssl_NewSocket();    } else {	sslSocket * ss = ssl_FindSocket(model);	if (ss == NULL) {	    SSL_DBG(("%d: SSL[%d]: bad model socket in ssl_ImportFD", 	    	      SSL_GETPID(), model));	    return NULL;	}	ns = ssl_DupSocket(ss);    }    if (ns == NULL)    	return NULL;    rv = ssl_PushIOLayer(ns, fd, PR_TOP_IO_LAYER);    if (rv != PR_SUCCESS) {	ssl_FreeSocket(ns);	SET_ERROR_CODE	return NULL;    }#ifdef _WIN32    PR_Sleep(PR_INTERVAL_NO_WAIT);     /* workaround NT winsock connect bug. */#endif    ns = ssl_FindSocket(fd);    PORT_Assert(ns);    if (ns)	ns->TCPconnected = (PR_SUCCESS == ssl_DefGetpeername(ns, &addr));    return fd;}