Per @frieder, using the same namenode configuration as the Whoops WebHDFS module, returning a new HdfsClient instead of monkeypatching, and adding a switch in the configuration to enable snakebite