Allow loading of external XML entities in HHVM (files and HTTP resources)

Fixes [this kind of errors](https://github.com/facebook/hhvm/issues/3797)