The current code does not support protocols like https,
ftp, etc. Since I needed HTTPS, I looked for a simple
solution. Here is what I found:
1. insert into 138 of URLObject.java the following:
httpIdx = url.indexOf("https://");
if(httpIdx == 0)
{
url = url.substring(8);
}
then rebuild the classes.
2. populate a jvm keystore for trusted certificate
authorities using $JAVA_HOME/bin/keytool -import
3. alter the bin/run script instructing the jvm to use
the keystore by adding the parameter
-Djavax.net.ssl.trustStore="keyPath\.keystore"
Other protocols could be supported with simple changes
like listed in step one. Yet, I am sure a more elegant
method also exists.