[10dc6daa37] New fix for [gets] on non-blocking channel.  This time
properly accounts for the effects of ENCODING_LINESIZE.