[Git][gajim/python-nbxmpp][master] fix: TCP: Improve detection of broken connection