allow server_name to be overridden, e.g. to use IP

I need use IP to identify my autoscaling nodes, otherwise i get the same hostname for all.  This allows it to be overridden.