Check if content-type header exists
Fixes #19
Use 'Content-Type' instead of 'content-type'

Really shouldn't matter, but [sometimes it does](https://github.com/cjohansen/Sinon.JS/issues/547)