detect if using https and use it instead of http://www.google.com
detect if using https and use it instead of http://www.google.com