Changes to address issue #3 support for scenarios behind loadbalancers.