Port number parsing fixed.