Changing when a 502 is sent from `proxy()`, fixes #198