Removing trailing whitespace
Adjusted token in readall to properly set its pointed value to null, for
end of string.

The telnet EOL is removed before sending to the parser (well, hidden). A
new telnet EOL is added when the server sends the buffer back to all
users