Add a global network error handler, hooked inside of Bluebird (which is a stupid thing to do, but since we're only using Bluebird for network operations as of now, it kinda works).