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 now run this script using the built-in HHVM web server.

I've add skip files so if the user doesn't have the required environment variable set it will skip the tests, just like PHP does.