Added possibility to set header info on the portal response
Added Content-Disposition with a filename if it's set on the attachment object when returning a stream.