Add support for headers with multiple values to HTTP upgrade