Check to see if header key exists first, if it exists change the existing value, otherwise add it.