1. change HTTP header type
2. fixed CURLOPT_PORT parameter error
3. add setproxy/setcookie/settime api