Add method sendIMMessage and event onPeerIMMessage