code: protected String readCRLFLine() throws IOException
  	{
  		int i = 0;
  		while (i<1024)
  		{
  			byte aByte = (byte) read();
  			if (aByte=='\n') break;
  			if (aByte=='\r') continue;
  			crlfBuffer[i++] = aByte;
  		}
  		return charsetDecoder.decode(ByteBuffer.wrap(crlfBuffer, 0, i)).toString();
  	}
docs: Read everything up to the next CRLF, return it as
  a String.