Tidy up node module, include sensible defaults and try to detect local IP for monitor host