Updating to request@2.40.0

See mikeal/request#993

Fixes #1933