Improved getFlags in IOUtils, improving handling and performance.
From now on, a StandardExchangeArticle is always returned, also
containing detailed information about errors (should they arise).