Implement stream mode for parser

* src/parse.c (parser_init): Accept flag for enabling parser stream
mode as additional parameter.