Add a test which shows an issue with the current async delegation model

The original RFC draft had an SPI interface which meant that a service knew when it was being directly called by the async service. This new prototype uses a ThreadLocal, which causes problems when a non async-aware service calls an async-aware service.

I have added a test case which demonstrates the issue.