Contextually check for a valid transport
Style & syntax fix
Sort array before serialize it
Remove superflous `else` block
Auto-detect need for SSL capability
Deprecated option in phpdoc block
Follow relative redirects

Should fix #102
Merge pull request #101 from ozh/transport_with_context

Contextually check for a valid transport
Explicitly check for leading `http(s)://` in URL
Test AND, not OR
Merge pull request #103 from ozh/relative_redirects

Follow relative redirects correctly
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.