add setProxy to curl options