This removes use of ports internals from other plugins, which will make it easier to refactor the underlying property storage.
This change makes interacting with port mappings more clear - folks might previously set the port mapping to the proxy type or vice-versa. The existing proxy:ports* commands still exist but will show a deprecation warning for a single minor release.