Hold the players, parents and coaches accountable like this referee did. This is a high school match and the school administrator was the one who is responsible for his teams fans. Do the the same thing at all levels. Referees do not have to put up with dissent. Use the 3 P's. Personal, Pubic, Provocative. If 2 of the 3 are met, that is Dissent and should be cautioned. If the situation escalates, proceed to control the situation with ejections and then in necessary terminate the match. Your are not only responsible for the safety of the players. You are responsible for your referee crews safety too. Having a thick skin is good. Holding out of control players, parents and coaches accountable is better.