Restart xmpp channel if read returned zero bytes

Zero means closed connection by remote size.

BUG=b:23970360

Change-Id: I87432ba3eeca0a78c48ac3ebe6106a9ea845ec6a
2 files changed
tree: 6c5cdc4ba05f4896f9bc269e1739949ab76b3ac3
  1. libweave/