@Override
	public int read() throws IOException {
		int b = this.in.read();
		if (b == '.' && secondLastByteRead == '\r' && lastByteRead == '\n') {
			// skip this '.' because it should have been stuffed
			b = this.in.read();
		}
		secondLastByteRead = lastByteRead;
		lastByteRead = b;
		return b;
	}
Read through the stream, checking for '\r\n.'

@return the byte read from the stream
src/main/java/de/gessnerfl/fakesmtp/smtp/io/DotUnstuffingInputStream.java