onSuccess is no longer triggered on timeout/reset

Browsers will return a 0 status when the connection is broken off or
times out ... but this is also used to indicate success.  Checking for
an empty header string seems to be a portable workaround.