private Address.Builder AddressToProto(Actor.Address address)
{
if (string.IsNullOrEmpty(address.Host) || !address.Port.HasValue)
throw new ArgumentException(string.Format("Address [{0}] could not be serialized: host or port missing", address));
return Address.CreateBuilder()
.SetSystem(address.System)
.SetHostname(address.Host)
.SetPort((uint)address.Port.Value)
.SetProtocol(address.Protocol);
}