polyfill version of the 0.11 version of the asyncListener API