Add error logging to HttpClient
Use C++11 enums