public static void registerHandler() {

		String pkgs = System.getProperty("java.protocol.handler.pkgs");
		if (pkgs != null) {
			if (pkgs.indexOf(MY_PARENT_PACKAGE) >= 0) {
				return; // avoid multiple registrations
			}
			pkgs = pkgs + "|" + MY_PARENT_PACKAGE;
		}
		else {
			pkgs = MY_PARENT_PACKAGE;
		}

		System.setProperty(PROTOCOL_HANDLER_PKGS_PROPERTY, pkgs);
	}
Register the "ghidra" URL protocol Handler.
Alternatively, the protocol handler can be explicitly used when instantiating 
a ghidra URL:
<pre>
  URL url = new URL(null, "ghidra://myGhidraServer/Test", new ghidra.framework.protocol.ghidra.Handler());
</pre>
It is also important that a <code>ClientAuthenticator</code> also be registered.
@see ClientUtil#setClientAuthenticator(ghidra.framework.client.ClientAuthenticator)
Ghidra/Framework/Project/src/main/java/ghidra/framework/protocol/ghidra/Handler.java