+ /**
+ * Read a possibly encrypted line.
+ *
+ * @param in
+ * the stream to read from
+ * @return the unencrypted line
+ *
+ *
+ * @throws IOException
+ * in case of I/O error
+ * @throws SSLException
+ * in case of crypt error
+ */
+ private String readLine(InputStream in) throws IOException {
+ if (inReader == null) {
+ inReader = new BufferedReader(new InputStreamReader(in));
+ }
+ String line = inReader.readLine();