Added option to specify arbitrary network ID (which allows bootstrapping with the corresponding IP address).