Allow Nice URLs when served via HTTPS

Use $_SERVER['HTTPS'] to construct the nicetest URL, allowing Shimmie to use nice URLs when served over HTTPS. Currently this is failing because of cross domain security on (at least) Chrome.