Implement cookie parsing for responses