_logger.finest("Read '" + line + "'");
    private String readLine() throws IOException {        String line = new String();        int i;        byte[] b={(byte)0x00};        i = in.read();        while (i > -1 && i != 10 && i != 13) {            // Convert the int to a byte            // we use an array because we can't concat a single byte :-(            b[0] = (byte)(i & 0xFF);            String input = new String(b,0,1);            line = line.concat(input);            i = in.read();        }        if (i == 13) { // 10 is unix LF, but DOS does 13+10, so read the 10 if we got 13            i = in.read();        }        // System.out.println("Read '" + line + "'");        return line;    }