BZ 1145338 - to support NAT environments, allow server to be configured with a public port/secureport when it is installed

(cherry picked from commit 17ac3cc3b4eaf1922661a0e79025c4ff8b107812)
Signed-off-by: Stefan Negrea <snegrea@redhat.com>