Stop accepting bad headers; fixes #369

We now defend against missing :'s and also leading/trailing whitespace on the key side of the k:v pair.