public IPromise <IRemoteConnection> Clone(bool async)
        {
            var newConn = new MappedConnection(_mappings, _authCallback);

            return(newConn.Login(_lastCredentials, async)
                   .Convert(u => (IRemoteConnection)newConn));
        }
 public IPromise<IRemoteConnection> Clone(bool async)
 {
   var newConn = new MappedConnection(_mappings);
   return newConn.Login(_lastCredentials, async)
     .Convert(u => (IRemoteConnection)newConn);
 }