network: change read method in both abstract and client stream classes

read methods makes now use of stream_get_contents
unit test updated
private methods read_all and read_chunk removed