Added mark/reset to IOStream, IOBuffer, and AsyncStream