func ErrIsMyFault(err error) bool {
	s := err.Error()
	return strings.HasSuffix(s, "use of closed network connection")
}
See this and cry: https://github.com/golang/go/issues/4373
package main
import (
	"fmt"
	"strings"
	"time"
)
type ProxyError struct {
	LocalRead   error
	LocalWrite  error
	RemoteRead  error
	RemoteWrite error
	First       int
}