iOS HttpClient replace libcurl

The macro `ERROR_SIZE ` is easy to conflict with others.
If `static const int ERROR_SIZE ＝ 256; ` works well, do not use macro.