Minor util updates
Move code for adding ports to hosts optionally into a util library so it can be reused by other binary implementors.
In general we only want a minimal main() here so booting up your own binary is trivial.
Move code for adding ports to hosts optionally into a util library so it can be reused by other binary implementors.
In general we only want a minimal main() here so booting up your own binary is trivial.