Support tent-request 0.4

This should include all needed changes to support tent-request v0.4. I couldn't test it, so I could have accidentally broke something.
btw: Better define the supported dependency versions in package.json. Oatmail doesn't work right now, if you just do `npm install` and then `npm start`.