Unfortunately the only thing you can do about players like those is reporting them. What I experienced is that when you state, that you reported someone for such insults, at least a part of your team (or, if he wrote it for both teams even the enemy team) reports him too. Also, a nice little "Thanks for that, have fun with your reports" makes a lot of those guys shut up.