parser: trampoline the stream-parser callback function when the user passes in an async callback function

Fixes the failing async test case.
test: silence the warning for the stack overflow test