Much the same as we store the netmask, let's throw the random port into the host object if it is set.