Allow passing a hostname

Will default to 0.0.0.0 if no hostname if passed.