Improve error handling in open_async_request
Improve error handling in open_async_request

The open_async_request function now allows the caller to provide an
error handler.  This functionality is used in the initialization
functions to ensure that the next() callback is always called.

pack-it-forms/pack-it-forms,pack-it-forms/pack-it-forms