msgIdx = next + 2;
	private String getLine()	{		int next = message.indexOf("\n", msgIdx);		if (next >= 0)		{			String line;			if (next > 0 && message.charAt(next - 1) == '\r')			{				line = message.substring(msgIdx, next-1);				msgIdx = next + 2;			}			else			{				line = message.substring(msgIdx, next);				msgIdx = next + 1;			}			return line;		}		else			return null;	}