Enhanced keyToPath() to URL-escape keys
requests: add keyToPath test
Merge pull request #175 from yichengq/1

able to operate on key with special character