etcdhttp: process dir parameter in request
Merge pull request #1164 from jonboulle/1164_dirs

Unable to create directories