public String readLine() throws IOException {
		final String result = raw.readLine();

		if (result == null) {
			return null;
		}

		final Matcher m = start.matcher(result);
		if (m.find()) {
			headerToRemove = m.group(1);
		}
		if (paused) {
			final Matcher m2 = unpause.matcher(result);
			if (m2.find()) {
				headerToRemove = m2.group(1);
			}
		}
		if (headerToRemove != null && headerToRemove.startsWith(result)) {
			return "";
		}
		if (headerToRemove != null && result.startsWith(headerToRemove)) {
			return result.substring(headerToRemove.length());
		}
		return result;
	}