* curl-shim.h, curl-shim.c: New. This is code to fake the curl API in