proper host detection through ifconfig
Merge changes from calavera/murder to include changes from upstream PR #6
Replicating the change from upstream PR #18 originally from masahide/murder