Fixes handling of Telnet sequences and partial lines without spinlocks