Changed Stream to use fwrite/fread duo when sending streams, instead of stream_copy_to_stream for the sake of stability;
Added a second argument to Stream's constructor telling whether the wrapped stream should be closed on Stream's destruction - FALSE by default, overridden to TRUE by NetworkStream;
Modified the ServerTest timeout to 4 minutes, to prevent Travis from canceling the run (while still allowing manual testing);
Doc fixes.