Upgrade to request ~2.40.0.

Resolves #40.

I tested this while running the prerender server locally and saw no problems. It would be great to get this merged ASAP considering the potential for DOS attacks.