io.streams.peek: Implement peek and peek1.