Problem: need shutdown handshake to avoid message loss

In some cases, if a client sends a message and immediately destroys its
socket to the server, the message will get lost.

Solution: add GOODBYE/READY handshaking, so that the client can be sure
anything before the GOODBYE was recieved. Implement this in
zccp_client_destroy.