instant messaging framework