Added constructor overloads to ResourceHandler to enable supplying an existing resource stream.