stream.jl: provide flush() for all AsyncStream types (e.g. Pipes, TTYs, and TCP/UDP sockets)
Merge pull request #4329 from nlhepler/lh/flush

stream.jl: provide flush() for all AsyncStream types (e.g. Pipes, TTYs, ...