Fix cURL tests by implementing server script

Many cURL extension tests require an HTTP server to be running with a specific PHP file available.

Travis will run this script using the built-in web server.