issue #1 : working on rewrite with breaking API. This is necessary to
make the correct decisions on ack / nack after a reconnection.