Net
Just adding some initial networking code. Note that the RPC stuff is a bit simpler because it doesn't deal with identifiers. For now I'm just assuming one "participant" per binary.
I also added a helper function for encoding data of various types. Too bad the type switch can't detect type aliases, otherwise you wouldn't have to cast things to Hash
before passing them to MarshalAll()
.