Use a binary shim for curl instead of a function