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.
Fixed testcase for 3.3