can you just go:

```
url := req.URL
url.Hostname = hostname
url.Hostname()
```
I really don't like free coding URL logic like this.