Also use the found rpcport in namecoin.conf to initialise the RPC port setting at first if it is not yet set.