private static String getAttributeOrDefault(ThrowingSupplier<String> supplier){
        String ret = "NotAvailable";
        try {
            ret = supplier.get().replace(' ', '_');
        }
        catch (Throwable t) {
            // No action taken, default value of "NotAvailable" will be used if supplier fails
        }
        return ret;
    }
User Agent body to be sent in web socket handshake
Has the form of:
[Application Name] [GLV Name]/[Version] [Language Runtime Version] [OS]/[Version] [CPU Architecture]
gremlin-driver/src/main/java/org/apache/tinkerpop/gremlin/driver/UserAgent.java