Fixed reading HTTP stream when HTTP error code received

Fixed reading the received HTTP stream when the server returns a HTTP error status code and the ignoreHttpErrorCodes config directive is set
(unless 200 <= getResponseCode() < 300, getInputStream() throws an exception)