issue #2389: Adding cookie support for HttpClient
enableCookies is static method now
Merge pull request #3122 from dumganhar/iss2389-http-cookie

closed 2389: Adding cookie support for HttpClient