Document signals handled by the server.

However don't document SIGHUP, since in future we might want this to
do something different, eg. reload configuration.

Thanks: Cristian Ciupitu.
Fix parsing of long options.

Unknown long options would cause a segfault, because the list of long
options was not NULL-terminated.  Oops.