I don't know the answer to this question, but FYI Thijs Alkemade (an Adium and libpurple contributor) has done some work on documenting iMessage on the IM Freedom wiki: http://imfreedom.org/wiki/IMessage