Replaced usages of CHARON_*_PORT with calls to get_port().