URL Escaping node name

ES generates node names with spaces in. The spaces make the fetch fail, but encoding them in the config file causes the node name check to fail, so URL encoding them.