New helper for building hosts and add scheme to service definition