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