'If the response sets more than one Cookie, this method will
be called once for each "Set-Cookie" header.
BUGBUG: The urllib2 library concatenates , values of repeated headers.
See HTTPMessage.addheader() in httplib.py
:param request: The HTTP request object.
:param response: The HTTP response object
:param cookie_header_value: The cookie, as sent in the HTTP response
:return: The cookie object or None if the parsing failed'

def _parse_cookie(self, request, response, cookie_header_value):

    try:
        return parse_cookie(cookie_header_value)
    except Cookie.CookieError:
        desc = 'The    remote    Web    application    sent    a    cookie    with    an    incorrect    format:    "%s"    that    does    NOT    respect    the    RFC.'
        desc = (desc % cookie_header_value)
        i = CookieInfo('Invalid    cookie', desc, response.id, self.get_name())
        i.set_url(response.get_url())
        i.set_cookie_string(cookie_header_value)
        kb.kb.append(self, 'invalid-cookies', i)
        return None
