Adapting xmp plugin to latest port_manager API changes. partially fixes #34