Preserve the current mask flag and opcode for websocket_data callback.