code: private void setDefaultUserAgent() {
          setUserAgent(
                  MwsUtl.escapeAppName(applicationName),
                  MwsUtl.escapeAppVersion(applicationVersion),
                  MwsUtl.escapeAttributeValue("Java/"
                          + System.getProperty("java.version") + "/"
                          + System.getProperty("java.class.version") + "/"
                          + System.getProperty("java.vendor")),
  
                  MwsUtl.escapeAttributeName("Platform"),
                  MwsUtl.escapeAttributeValue("" + System.getProperty("os.name")
                          + "/" + System.getProperty("os.arch") + "/"
                          + System.getProperty("os.version")),
  
                  MwsUtl.escapeAttributeName("MWSClientVersion"),
                  MwsUtl.escapeAttributeValue(libraryVersion));
      }
docs: Set the default user agent string. Called when connection first opened if
  user agent is not set explicitly.