Change the request protocol depending on the datafiniti host name