Handle multiple headers in addHeader