Added small sanitisation to received headers.