Use same protocol as page for Google API query