I'm parsing a cgi request and was using the din.readLine function to get each line. readLine will read bytes from a stream until it encounters either '\n' or '\r'. I need it return lines terminated with "\n\r". Does anyone know how to do this. Or if there are any other options.