public static HostedConnection getRmiConnection() {
        return connection.get();
    }
Returns the HostedConnection that is responsible for any
 RMI-related calls on this thread.
jme3-networking/src/main/java/com/jme3/network/service/rmi/RmiContext.java