Made ephemeral ports a resource and killed private resources.

Review: https://reviews.apache.org/r/24269
Do not send ephemeral_ports resource to frameworks.

Review: https://reviews.apache.org/r/24286