http: Remove legacy ECONNRESET workaround code

Fix #5179