union uclient_addr local_addr, remote_addr;
+ struct uclient_url *proxy_url;
struct uclient_url *url;
int timeout_msecs;
void *priv;
void uclient_free(struct uclient *cl);
int uclient_set_url(struct uclient *cl, const char *url, const char *auth);
+int uclient_set_proxy_url(struct uclient *cl, const char *url_str, const char *auth_str);
+
/**
* Sets connection timeout.