Add PromiseStream.flatMap method