WORKAROUND for lighthttp not supporting Expect: properly (C++ version)