Simple RFC-compliant TELNET implementation as a C library
https://github.com/seanmiddleditch/libtelnet