Support for repeated headers in responses in the Lua plugin

This is needed for WSAPI conformance, and important for having
good support of Set-Cookie.