dispatch_connection: treat \r as \n

Windows clients might send data to us with CRLF line separation, in
which case we will add a _ at the end of the line (typically following
the data number, rendering it invalid).  Treat \r as if it were a
newline.