Network hardware address retrieval is now checked

In some Java security manager configurations, getting hardware address could fail.