fix curl reference for latest libcurl

Sorry, but I have missed some new constants defined when latest libcurl is used (discovered during fedora 19 build).

So, I check all the new php 5.5 constants, and add the need condition in the Unit test, to run correctly according to libcurl used.