The grpc port's idl definition checks for
{gte: 1}but does not enforce a maximum value. TCP port are limited to 65,535 as they're stored in a 16 bits number, we should enforce this check. We should also consider if we want to allow port of 0 to have a randomly selected one.