Web Component: cookies support

WebComponent now accepts cookies, which could be useful for authentication purposes.

Cookies are kept in memory during the lifetime of the GDC.