Try toremember that he isn't trying to punish you. He's hurting. The natural response is to try to ease that pain. In his mind, hurting you, lashing out, throwing a temper tantrum all make him feel better. Just try to remember it isn't about YOU. It's about HIM. He's going to say and do things he knows will hurt you, but it's truly not about you. Time to buy stock in spew jackets.
With that in mind, try not to punish him back. You get to choose how you act and react to him. Act with the grace that you wish he had. There's nothing you can say to change him right now, but how does fighting back help you to heal or help him see the error in his ways. Be the person you want and deserve to be. It's not easy, but I believe you can do it!