Implement fix for bug #46439 - add CURLFile class for safer uploads
Merge branch 'PHP-5.5'

* PHP-5.5:
  Implement fix for bug #46439 - add CURLFile class for safer uploads

Conflicts:
	UPGRADING
post-5.5 changes for bug #46439 as described in the RFC