Adjust a local timestamp Val to the remote nodes’s clock,
given the remote’s “current” time RemoteTimeS at the time of the call.
Note: it only makes sense to use this function in a call with a finite timeout. Then the error will be limited by the roundtrip timeout.