Move clear xmpp connection command to xmpp server

Change-Id: I487879c92573193a197c6ead5a994c3998cb46f6