WebSocket data framing [[ 8. If the frame type is 0xFF and the length was 0, then run the following substeps: ]] This will be true for 0xFF 0x80 0x00, or any number of leading 0x80 bytes in length. Presumably the frame should only be treated as a closing handshake if it was 0xFF 0x00. -- Simon Pieters Opera Software