Adding a PublicPortMapper class to assist with mapping local ports to public ports.