stream_parser_new: fix insane checks