remove logging
remove dead code
whitelist only createHistoryStream on replication stream
update to muxrpc that supports permissions