PHP Solution to http to https ajax call: No ‘Access-Control-Allow-Origin’ header is present on the requested resource