Implement libcap support

Use libcap for saving CAP_NET_ADMIN (if --transparent is given) over a
setuid(). We don’t need CAP_NET_BIND_SERVICE as the listening sockets
are established before dropping root.
sslh-fork: close all listening sockets in shoveler

When we're watching multiple sockets, we don't want to just close
the active one we got a connection on before launching the shoveler.
If we want to restart the daemon, we run into problems because the
socket is still in use.  Instead, close all the sockets we were
listening on.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
set IP_FREEBIND if available to bind to non-existent interfaces
Merge pull request #12 from vapier/master

sslh-fork: close all listening sockets in shoveler
Merged libcap patch
fix Markdown documentation for libcap
libcap support: print out process capabilities at startup if verbose
Changelog prepared for v1.16
Fixed possible file descriptor leak.
Merge pull request #14 from belobrov-andrey/fd_leak_fix

Fixed possible file descriptor leak.
genver.sh: use /bin/sh for portability

Signed-off-by: Jason Cooper <jason@lakedaemon.net>
use directory version when compiling from a tarball without git
fix errors in previous commit...
Merge pull request #1 from yrutschle/master

latest from upstream