Move key manipulation functionality into a KeyManager object to avoid polluting the Serf API