Bring telnet.py back into alignment with the base python telnet class.

Hopefully this fixes some of these telnet issues.