server.js: Added keys() function to handle preliminary keyring retrieval/creation