Implement framing for UnixConn

This adds some tests to show how framing is broken, then adds a simple framing implementation that fixes them.
Also, this is based on https://github.com/shykes/docker/pull/79, so contains that commit as the first entry.