code: function getRemoteProtocols(cache, isClient) {
    var ptcls = {};
    Object.keys(cache).forEach(function (hs) {
      var adapter = cache[hs];
      if (adapter._isRemote) {
        var svc = isClient ? adapter._serverSvc : adapter._clientSvc;
        ptcls[hs] = svc.protocol;
      }
    });
    return ptcls;
  }
docs: Extract remote protocols from a cache
  
  @param cache {Object} Cache of adapters.
  @param isClient {Boolean} Whether the remote protocols extracted should be
  the servers' or clients'.