apt:Reset failure reason when connection was successful, so later errors are reported as such and not as connection failure warnings; http: A response with Content-Length: 0 has no content, so don’t try to read it; use port from SRV record instead of initial port