Nodejs Network Communication with Streams