an http protocol implement with c++ in one .hpp head file