serialize-async should throw DISCONNECTED on premature EOF.
serialize-async should throw DISCONNECTED on premature EOF.

This isn't related to JSON-RPC but is a fix needed for the Ekam language server.

mologie/capnproto,mologie/capnproto,mologie/capnproto