go fmt
Added tests for Connection and Pipe.

A double close should panic.