socketset.go: time.Duration and package types