Can't take a joke

Since I was little that I had a hard time dealing with people but ended up changing a lot during the years and right now I am fairly social. But there is one aspect of social interactions that I've been having a really hard time changing: I can't take a joke. If it's not obviously innocent or an exaggeration I don't get it has being a joke and usually take offence responding with a snarky comment or keeping silent to avoid being unpleasant.

This has resulted numerous times in an apology for being rude out of instinct or awkward silences caused my a mood kill.

Any advice?

(sorry about the English, not a native)