fix #438: "Some cookies are lost when using mount()"

Added support for multiple headers with the same name (e.g. Set-Cookie) for mounted apps.