Fix compile error with theoretically supported versions of libcurl < 7.12.3.
Merge branch 'PHP-5.5' into PHP-5.6
Merge branch 'PHP-5.6'