making httpclientinvoker cookies-aware

using CookieManager from java 6 to receive and send cookies back to
server