Support stream resources as content for HTTP Request
If the HTTP Request would support stream resources instead of strings for setContent() and the CurlEngine would take this into consideration, files could be sent with curl through its INFILE feature.
[FEATURE] Support streams as Request content
This patch enhances the setContent() method of the HTTP Request class
to accept stream resources, additionally to plain strings. Additionally
the CurlEngine now detects a stream and takes advantage of cURL's INFILE
That way (bigger) files can bypass PHP when sent through a request with