Bind signalHandler to SIGHUP only if it exists.
Merge pull request #20 from Morwenn/sighup_fix

Bind signalHandler to SIGHUP only if it exists.