refactor to use signalfd
use new handler to remove server_sock global
cleanups
Merge branch 'signalfd'

* signalfd:
  use new handler to remove server_sock global
  refactor to use signalfd
fix up signal handling, add SIGQUIT handler