Hi, here's a first stab at adding support for parsing mx replies. It's highly non-original. I'm not a C programmer. Please be gentle with me :)
Regards, Jérémy.