Make sure that stunnel listens on the right addresses

This may be "all IP addresses" or only localhost, and IPv4 or IPv6.

Signed-off-by: Rob Hoes <rob.hoes@citrix.com>
Simplify management interface management

Signed-off-by: Rob Hoes <rob.hoes@citrix.com>
XOP-261: Make the himn_address persistent across reboot.

Signed-off-by: Jerome Maloberti <jerome.maloberti@citrix.com>
XOP-261: Restart stunnel only if conf file changed.

Signed-off-by: Jerome Maloberti <jerome.maloberti@citrix.com>
XOP-261: Fix xapissl to initially start stunnel.

Signed-off-by: Jerome Maloberti <jerome.maloberti@citrix.com>
CA-100704: Fix xenguest

From http://ocamlunix.forge.ocamlcore.org/ocamlunix.html

The flag list must contain exactly one of the following flags:
O_RDONLY	Open in read-only mode.
O_WRONLY	Open in write-only mode.
O_RDWR		Open in read and write mode.

So I've added exactly one of those flags!

Signed-off-by: Jon Ludlam <jonathan.ludlam@eu.citrix.com>
Merge pull request #1065 from jonludlam/CA-100704

CA-100704: Fix xenguest
Merge pull request #1064 from jeromemaloberti/XOP-261-dev

CA-96936/XOP-261: Reinstate the server on 127.0.0.1 when no management interface is defined