the keepers are different species, especially in their own penalty area. if you read the rules, you'd see that for almost every action there are 2 variations: if a keeper does it and if an outfield player does it.
I also think it was a foul, but I think Torino conceded because they stopped playing not because ref didn't whistle that foul, they easily could've avoided the goal if they continued playing