ws: Only process a "close" message after forwarding it.

Otherwise, the forwarding will fail because the channel has already
been removed from the knowledge of cockpit-ws.

XXX - this was done in a hurry, and there are still messages like

   cockpit-ws[32211]: channel 1:7 does not exist

in the log.

XXX - a unit test would be nice.