Initial hack at a polyfill for a new async local storage API.