Fixed issue where malformed lines causes Textual to crash.

I had an issue where my ZNC server somehow sent a malformed line. I do not know what the contents of the line was, but adding in this should prevent textual from going further with these malformed lines causing Textual to crash.

There are many solutions to the issue, this just seemed to be the easiest way to fix it.