Fix #354: support slash in key names

Quote 'key.name' properly when used in URL path / query string.

Fixes #354.
See: 18b954d in #359.