WebHDFS example in C