Get a copy of the proxy options
The url is copied and must be freed by the caller.
options struct to fill
the transport to extract the data from.