A lot of people confuse rudeness with honesty and that's unfortunate.
OTOH, some people just manage to unintentionally say exactly the wrong thing. I've personally, inadvertently, insulted at least two people this week because my choice of phrasing hit a hot button for them. We don't always say the right thing at the right time and it can cause bad feeling. I'm not excusing it, either in the fellow you where dealing with or for myself. I'm just saying, it happens. A friend of mine calls it "opening mouth to change feet."
Sometimes, we just need to rise above. If it's someone you plan on dealing with again, be honest and say "the way you said that hurt my feelings" ... then build on how they reply. If it's someone you will never deal with again, bitch about it a little and then move on. Life's too short to let the bastards drag you down.