pass proxy-related error to express