[PATCH v2 5/5] sapi: Implement IStream methods for SpStream.