Add examples for reading STDIN to Network and Streams manual
Merge pull request #7587 from doowttam/stdinExamples

Add examples for reading STDIN to Network and Streams manual