Apply port changes 353

This is a design/start for only a part of #353 - with the (temporarily?) incorrect assumption that `gear list` gives port mapping information.