Currently, exceptions thrown during sending a parcel (put_parcel) or receiving is not properly propagated to the user code. This might lead to non obvious hangs in the user code and prohibits proper fault handling in the network layer.
During the bootstrap phase, all exceptions should call hpx::terminate
For hpx::apply (which currently stores all caught exceptions in the parcel handler) we should add the ability to register a global exception handler. By default this exception handler should either do nothing (in which case the next call into the parcel handler re-throws the exception; current behavior), or call hpx::terminate as well.