Whatever the case, Webb was just the performer, not the writer. Holding him responsible for a character's opinions is as moronic as thinking Anthony Hopkins actually eats census takers.
Even if he wasn't just performing the lines and he wrote them, this is television - creativity means that characters who are not particularly likeable or PC can be created. What you do if you are easily offended is not watch or switch off not go on a bloody Twitter rampage smiting anyone you fancy for not using language the way you deem appropriate. When you do it makes you an arsehole regardless of gender.