Forward errors in proxy mode

Port https://github.com/sindresorhus/got/commit/9969aa9582224f22eac19fba395bc2e943ec1f75