code: function Adapter(clientSvc, serverSvc, hash, isRemote) {
    this._clientSvc = clientSvc;
    this._serverSvc = serverSvc;
    this._hash = hash; // Convenience to access it when creating handshakes.
    this._isRemote = !!isRemote;
    this._readers = createReaders(clientSvc, serverSvc);
  }
docs: Service resolution helper.
  
  It is used both by client and server channels, to respectively decode errors
  and responses, or requests.