Debugging improvements in telnet code.
Merge pull request #100 from ahmedcharles/debug

Debugging improvements in telnet code.