Check for presence of Content-Type header

If you make a `POST` request without setting the `Content-Type` header, the server crashes.