add handshake method in RemoteManager