code: public Socket getSocket(String host, int port, boolean useSecureSocket) throws Exception 
  	{
  		// Get the registered security domain for the URI
  		SecurityDomain securityDomain = null;
  		if (useSecureSocket) {
  			securityDomain = CONTEXT.getSecurityDomainManager().getSecurityDomain(host,port);
  		}
  		return getSocket(host,port,useSecureSocket,securityDomain);
  	}
docs: /* (non-Javadoc)
  @see org.openhealthtools.ihe.atna.nodeauth.SocketHandler#getSocket(java.lang.String, int, boolean)