Deal with set-cookie response headers

Although Google Analytics doesn’t currently set cookies on it’s own
domain this makes the code more generic and deals with the possible
multiple occurences of this response header