a simple c++ http client