Add support for writing to read-only namespaces

This branch adds support for passing a secret key in the query string. The secret key is required for write access to protected namespaces (in beta right now).