allow creation of an HttpResource with an init value