Right, the first thing is not to fly off the handle. Just take a moment. Most of the time, they are simply looking for a reaction. I reckon the best policy is often dignified silence. It shows you're above their level. Or, a calm "I don't appreciate that" works wonders.