Adds support for generating conf from host, port params