Fix multiple values headers

For example the ``Vary: Accept-Encoding, Accept-Language`` header is represented by : 
array(0 => 'Accept-Encoding', 1 => 'Accept-Language').

So returning ``$header[$name][0]`` is incorrect.