increased maximum supported size for stream-reading and stream-writing functions; implemented buffering for file streams
early implementation of fd protocol; not really tested so much