Some fixes for OpenBSD.
Fix SIGHUP endless loop.
OpenBSD fixes for rspamd-0.6.