rewrite using libcurl
base64 encoding and HMAC-SHA1 library. See BTCChinaAPI.cpp for details.