fix to relay behaviors when provider is given without protocol (is it http or https?)