Added handler for cookie header