Mock connection for Golang This is a simple simulation connection for mocking a net.Conn in golang. Inspired by this StackOverflow question