public function writeBinary($message)
    {
        $final = false;
        $pos = 0;
        $totalLength = mb_strlen($message, '8bit');
        while (!$final) {
            $data = mb_substr($message, $pos, self::FRAME_SIZE, '8bit');
            $dataLength = mb_strlen($data, '8bit');
            $pos += $dataLength;
            $final = ($pos === $totalLength);
            $frame = new Net_Notifier_WebSocket_Frame(
                $data,
                Net_Notifier_WebSocket_Frame::TYPE_BINARY,
                false,
                $final
            );
            $this->send($frame->__toString());
        }
    }