for (JsonElement e : init.getAsJsonArray()) {
c.init(e.getAsString());
}
}
c.connect(new WaitingTelnetClientHandler() {
@Override
public void failed(IOException e) {
JsonObject r = new JsonObject();
r.add("error", new JsonPrimitive(e.getMessage()));
userCallback.handle(r);