[WebSocket] Prevent division by 0 in Hixie handshake