Use cURL's version_number and cleanup the version_compare() stuff
Merge pull request #104 from mishan/improve-curl-version-compare

Use cURL's version_number
Don't double-close cURL sockets

Fixes the fatal error in HHVM (null pointer reference)
Use $transport::test() for checking SSL in tests

See #101. Turns out fsockopen was overriding this, but we have contextual
checking support now, so let's use that.
Disable SSL support on HHVM

See https://github.com/facebook/hhvm/issues/2156
Merge pull request #106 from rmccue/hhvm-fixes

Fix support for HHVM
Check for HHVM with HHVM_VERSION

Thanks to @staabm for pointing this out.
Add httpbin-like server in native PHP
Allow changing test host

Uses the REQUESTS_TEST_HOST env variable if it exists, or the more specific
_HTTP and _HTTPS versions. Defaults to httpbin.org.
Ignore http.log/http.pid
Use localhost for HTTP tests, not HTTPS tests
Move test server to Composer dependency
Correct path to start/stop
Use vendor/bin
Use old-style ternary for PHP 5.2
Preserve path when sudoing
Set PHPBIN to correct version
Prefer distributions with Composer

Hopefully should speed up testing slightly.
Merge pull request #107 from rmccue/speedy-tests

Speed up test running by using local server
Revert "Prefer distributions with Composer"

This reverts commit eb34a294bdbc35fb0bda7c71d50a356a13225357.

Props @staabm for pointing out `--prefer-dist` is API limited, which can cause
problems on Travis.