Change. cURL wrapper store proxy functions in class not in object.

Fix. Test for stream reader.