Deterministic same-VM delivery through the VSR registry.
Tests may provide a :deliver function to queue, drop, duplicate, or delay messages without changing the protocol runtime.
:deliver
@type t() :: %ViewstampedReplication.Transport.Local{ deliver: (pid(), term() -> :ok | {:error, term()}) | nil, endpoints: map(), registry: atom() }
@spec new(keyword()) :: t()