private static String createString(String host, int port) {
        return (host == null)
                ?  "tcp/" + port
                : "tcp/" + host + ":" + port;
    }
A Spec is a network address used for either listening or
connecting.
jrt/src/com/yahoo/jrt/Spec.java