Trigger error callbacks asynchronously

This allows one to, e.g., yield the current fiber after making the
request and resume it in a callback.
Merge pull request #305 from elliterate/async_error_callbacks

Trigger error callbacks asynchronously