Support clients using CR+NUL to signal EOL