add in default values and some helper functions
better parsing of the nginx data
default value should use 127.0.0.1