Added streaming interface

Take a look at lib/texts.js for the proposed interface.

Example usage is in bin/texts.js.