remove URL protocol rewriting. Closes #704
don't do analytics on https