addCookies method
Implementation
@override
void addCookies(ServerTransportStream response, Iterable<Cookie> cookies) {
var headers =
cookies.map((cookie) => Header.ascii('set-cookie', cookie.toString()));
response.sendHeaders(headers.toList());
}