Add support for ppolicy and better manage default ports.