reduced the public RPC api to whoami(), getPublicKey(), and createReplicationStream()