removed throws in the async libs, replaced with error handling hooks

It was crashing if the hostname was wrong.  It couldn't be trapped.  I put in some error handling and removed the throws.  It now runs the callbacks with an error indication.