Host information in the headers shouldn't contain http or https

Otherwise this is causing the ssl certificate validation to fail