Implemented streaming request in Stream.php and Curl.php

Updated version of #96. Fixes #92