Allow host app to provide main_domain with protocol