Changing when a 502 is sent from `proxy()`, fixes #198
Merge pull request #199 from avoidwork/edge

Minor fix