convenience uri parsing object
Use URI object for referer and uri in request