allow subclasses of HttpConnection to read error