How can I open (using C++, or winapi) web site with custom userAgent and referrer for the DOM tree (not just HTTP headers)?