code: function () {
          var guid = generateGuid();
  
          var queryString = 'guid=' + generateGuid();
  
          queryString = ortc.appKey ? queryString + '&appkey=' + ortc.appKey : queryString;
  
          loadClusterServerScript(clusterUrl + '/?' + queryString, guid, function (clusterServerResolved, scriptGuid) {
              if (clusterServerResolved) {
                  url = SOCKET_SERVER;
                  sockjs = createSocketConnection(ortc.getUrl());
              }
  
              try {
                  clearScripts(scriptGuid);
              } catch (loadError) { }
          });
      }
docs: /*
  Tries a connection through the cluster gateway with the application key and authentication token.