public String readChunk() throws IOException {
		StringWriter writer = new StringWriter();
		int ich;
		int lastich = -1;
		
		for (ich = this.nextChar(); ich != -1; ich = this.nextChar()) {
			char ch = (char)ich;
			
			if (ch == ChunkDelimeter && lastich != -1) {
				ich = this.nextChar();
				
				if (ich == -1 || (char) ich != ChunkDelimeter) {
					this.pushChar(ich);
					break;
				}
			}
			
			if (lastich == -1 && (ch == '\r' || ch == '\n'))
				continue;
			
			writer.write(ich);
			lastich = ich;
		}
		
		writer.close();
		
		String result = writer.toString();
		
		if (result.equals(""))
			return null;
		
		return result;
	}