PHP 5.5 support

http://stackoverflow.com/questions/17032990/can-anyone-give-me-an-example-for-phps-curlfile-class