Websocket: Never send when the socket is not open.

Sending used to be allowed in state CLOSING, which could result in an
assertion failure during finalize.