Add box_process_raw and Lua bindings for it