Hm, it's hard to judge what's happening then. Did you try to include an "dummy" <body> element just to see if it works then?
Maybe it's also related to the ghost session issue which was reported with 3.9.3, e.g. Openfire thinks the user is online and thefore does not store the message.