code: public Socket getSocket(URI uri, boolean wantTLS) throws Exception
  	{
  		if (uri == null) {
  			throw new URISyntaxException("", "The URI specified cannot be null");
  		}
  		
  		// Get the registered security domain for the URI
  		SecurityDomain securityDomain = null;
  		if (wantTLS) {
  			securityDomain = CONTEXT.getSecurityDomainManager().getSecurityDomain(uri);
  		}
  		return getSocket(uri,wantTLS,securityDomain);
  	}
docs: /* (non-Javadoc)
  @see org.openhealthtools.ihe.atna.nodeauth.SocketHandler#getSocket(java.net.URI, boolean)