index: make `secure: false` work

TODO: add tests for that
remove test.js file
idnex: statically hash the subdomain based on the URL

As recommended in the Photon documentation.
test: fix test case after server distribution logic
dist: recompile