Registers some process signals to redirect to our own signalHandler, so we can (for instance) catch Ctrl+C and gracefully shut down.
On Posix, additionally ignore SIGPIPE so that we can catch SSL errors and not just immediately terminate.
Registers some process signals to redirect to our own signalHandler, so we can (for instance) catch Ctrl+C and gracefully shut down.
On Posix, additionally ignore SIGPIPE so that we can catch SSL errors and not just immediately terminate.