I was able to fit xmpp(lib gloox) chat bot in 4mb flash. The image is almost full, but its working.
i have created two jabber accounts one for a5v11 and one for my android phone. i can now access my home network by sending chat messages from xabber-android app.
details are here at my blog:
suggestions and improvements are welcome.
wish you happy new year!