Unfortunately, no one can be insured against rudeness: people with a specific character will always find a reason to provoke a squabble.
Hamams like this atmosphere, so you can't argue with them: it only makes the process more interesting for them. It's also difficult to have meaningful dialogues with boors: they are unlikely to take your arguments seriously.
Since boors get emotional release from seeing your displeasure, you need to deprive them of their advantage. For this reason, you shouldn't even start a dialogue with such people.
In most cases, boors are simply trying to provoke you, getting a reaction from you.
Therefore, you shouldn't pay attention to this category of people. If the boor sees that you don't react to all his words, he will be forced to retreat.
Also, sometimes a funny joke can defuse the situation: even a boor will notice the fact that continuing his line of behavior does not make much sense.