Protocol Implementation: Direct Mail
We start by creating a gen_server for the direct mail protocol implementation. This implementation will support two calls
broadcast, for sending a message, and
update, for updating the membership received from the Partisan system for when view changes occur. For state at each node, we'll track the currently known membership, so we don't have to look it up every time we want to make a broadcast.