Trim http and trailing slash from URLs

Firefox has some additional code that trimming the URL doesn't change behavior, but I don't think we need that right now.