Make site creation fail on more edge cases than just a trailing slash

- This uses URI.parse, which has to be given "http://" before the
  supplied hostname so that it works.