fixes for starting liteserv/gateway on multi-hosts