Agreed, this is not a C problem, and certainly not a C++ problem.
The problem exists not for the lack of C knowledge, but for the lack of the knowledge of the HTTP protocol, and possibly even how it...