Added cookie support

Added support for __setCookie in the __doRequest method.