Some CRLF fixes.
Fix for potential looping.
Telopt handling done for TELOPT_ECHO. More login handler bits.