Okay, so you had the affairs (doesn't matter if their via text, online, etc. - these are emotional affairs) to seek validation and worth. Is that correct?
And now your H hasn't seen any fault on his part and has amplified his bad behavior.
Has this been discussed with your current counselor? This is one thing that should be hammered out. I would actually leave him totally alone and when he starts acting like a jerk to you, tell him to stop and that his being a jerk and not being a proper H was one of the reason that you did what you did and that while you've apologized and are remorseful, it doesn't give him an excuse to continue to be a jerk and treat you as less of a person.
While you were definitely wrong to interact with someone else, he needs to be called out on his bad behavior as well.
M-43 W-40 2D - 9 and 5
Emotion, yet peace. Ignorance, yet knowledge. Passion, yet serenity. Chaos, yet harmony. Death, yet a new life.