Add xmpp_resume function

This can be used to resume a previously xmpp_stop()'d loop. This can be
useful if one wants to reconnect after disconnects.