Added in ip address self-detection and rudimentary check
for it being a LAN/RFC1918 address