HTTP class in C++