Abstract socket paths into util.go