Fix #354: support slash in key names

Quote 'key.name' properly when used in URL path / query string.

Fixes #354.