http: Remove unnecessary ECONNRESET workaround code

Fix #5179