parsing cookies in request.