moved to c++11 and using the new HTTPRequest::cookieJar