Create a Nack message format to handle reconnection
Historically r11s always assumes that clients will reconnect after a nack. We want to extend this and handle non-reconnection cases. Push and r11s will use the same interface.
I'd appreciate if you make appropriate initial changes on the client (something along the lines of PR mentioned above). I can help after that to make sure it is exposed in right (consistent) manner to hosts (critical errors). Thanks!
Related to this, we need to be able to nack a specific document. Currently a nack does not have a "target" document, so all the documents connected over the websocket would process the nack.
In the future, if we are multiplexing multiple documents over the same connection, it would be bad to disconnect the websocket due to an error for a single document.
@GaryWilber: We should open another issue on the nack target issue.
Closing this with #1805