Fix telnet size negotiation