Restructuring code of BufferedStream
Added BufferedStream.concat()