request.getCookies thread safe bugfix