getAvailableEntities and AKE
add getPeerKey method
chnage KeyID type to Text (was ByteString)