Added basic infrastructure to support asynchronous request handlers.