Beam: a simple stream-oriented communication protocol for distributed systems

This patch includes a stripped down implementation with a bare minimum
unix socket transport. It relies on fd passing for stream multiplexing.

The purpose of this first patch is to allow implementation of dynamic
linking, which will allow advanced service discovery.

For an idea of what a full implementation might look like, see https://github.com/dotcloud/docker/pull/4349