Moved the local ip and mac address functions to the Internet class