title: EIdHTTPProtocolException doesn't raise exception
body: <p>I'm trying to post data from a old delphi application on a web mvc app webapi (.net and c#) with authentication filters. If the password is wrong return 401 but the exception is not raised, the result is empty. Now I am forced to manually check the response code! The HTTPOptions are okay.</p>
  
  <pre><code>try
    Result := IdHTTP.Post(requestUrl, JsonToSend);
    //In this way I fixed this problem but it's very annoying! :(
    //if (IdHTTP.ResponseCode&lt;&gt;200) then  raise Exception.Create(IdHTTP.ResponseText);
  except
    on E: EIdHTTPProtocolException do
      begin
        raise Exception.Create(E.Message);
      end;
    on E : Exception do
      raise Exception.Create(e.Message);
  end;
  </code></pre>