A server-based instant messaging agent