change InternetAddress code - to compile for windows/unix