COMETD-529 - Messages should not be delivered via /meta/handshake reply.
Made sure WebSocket session is closed in case of exceptions.