code: private void sendContinuousReplicationChanges(Map<String, Object> activity) {
          try {
              String jsonString = Manager.getObjectMapper().writeValueAsString(activity);
              if (callbackBlock != null) {
                  byte[] json = (jsonString + '\n').getBytes();
                  OutputStream os = connection.getResponseOutputStream();
                  try {
                      os.write(json);
                      os.flush();
                  } catch (Exception e) {
                      Log.e(TAG, "IOException writing to internal streams", e);
                  }
              }
          } catch (Exception e) {
              Log.w("Unable to serialize change to JSON", e);
          }
      }
docs: Send a JSON object followed by a newline without closing the connection.
  Used by the continuous mode of _changes and _active_tasks.
  <p/>
  TODO: CBL iOS supports EventSourceFeed in addition to longpoll and continuous.
  TODO: Need to catch up CBL iOS:
  - (void) sendContinuousLine: (NSDictionary*)changeDict in CBL_Router+Handlers.m