We all have to deal with people who are less than lovable.
Chances are, they act the way they do with everyone.
Accept that you're helpless to change them. That in itself will provide some relief. It's tempting to explode when someone is unloading on you, but hold your temper. Once you've identified what bothered you about the attack, address the values you feel were violated. Having the courage of your convictions will allow you to rise above the personal offense and handle the situation with more clarity and confidence.