lib: update curl module to the latest FFI spec