Hook to restrict the remote resources a sandboxed pengine of
Application may access if the setting allow_remote is true.
If this hook is defined, a sandboxed pengine may only create a
remote pengine at URL or load source from URL (src_url option)
if this hook succeeds.