Methods to manipulate URL objects. Useful for preparing http requests.