Incorporating Simone's edits to his piece on creating a custom Telnet protocol.