Extract method setLocalAddress() from method setLocalNiAddress() in Ezim
class.