Not sure about this – seems hacky, but it seems too much to parse the URL and add to the host.