`MockWebServer` is final so delegation is the only option. `getUrl()` has to be overridden here so it uses the right `getHostname()` of course.

+1 PR to the project