beam2: work around frustrating race condition in Stream.Close
beam2/unix: working example of native socket passing. This is the future.