Fixed port handling in net address.