Data: Change the cached wireEncoding_ to defaultWireEncoding_ so we only cache an encoding using the default wire format.  Change getWireEncoding() to getDefaultWireEncoding().
security: implement BasicIdentityStorage::addAnyCertificate and addCertificate.